/*
 * Player.h
 *
 *  Created on: Nov 15, 2012
 *      Author: lucas
 */

#ifndef PLAYER_H_
#define PLAYER_H_
#include <string>
class Pig;
class Game;
#include "GameSettings.h"
class Player {
private:
	std::string name;
	Pig* pig;
	Game* game;
	eggTypes nextEgg;
public:
	Player();
	std::string getName() const;
	void setName(std::string& name);
	void setGame(Game* g);
	Pig* getPig() const;
	void setPig(Pig* pig);
	void shoot(double x, double y);
	void leaveGame();

	virtual ~Player();
};

#endif /* PLAYER_H_ */
